<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />

<title>課程登記</title>
</head>
<body>
<%
String loguser = (String) session.getAttribute("loguser");
/*
String actloguser = (String) session.getAttribute("actloguser");
Double dailyquota = (Double) session.getAttribute("dailyquota");
Double point = (Double) session.getAttribute("point");
String activecode = (String) session.getAttribute("activecode");
*/
Boolean status = (Boolean) session.getAttribute("status");

//if (activecode!=null){
//	loguser=null;
//} session.setAttribute("actloguser", loguser);

if ((loguser!=null) && (status==true)){
%>

 <%@ include file = "menulogin.jsp" %> 
 <%
 }else {
 %>
 <%@ include file = "menunologin.jsp" %>
<%
}
%>
<br><br><br><br><center>
<%
if (loguser==null) {
%>
   <%@ include file = "login.jsp" %>
   <% } else { %>
   <% //out.println("<h4 align=center>使用者名稱 : " + loguser + "</h4>");%>
   <%@ include file = "main.html"  %>
<%
}
%>   
</center>
</body>
</html>